<template>
  <div class="app-container">
    <h1>修改密码</h1>
    <el-form label-width="30%" style="width:70%">

      <el-form-item label="旧密码" >
        <el-input v-model="user.password" align="center"/>
      </el-form-item>
      <el-form-item label="新密码">
        <el-input v-model="user.newpassword"/>
      </el-form-item>
      <el-form-item label="确认密码">
        <el-input v-model="user.confirm"/>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" size="small" @click="buyOrSale()">确认修改</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  components: {
  },
  data() {
    return {
      user: {

      }
    }
  },
  methods: {
    buyOrSale() {

    }
  }
}

</script>
<style scoped>

</style>
